<!--
 * @Author: Rachel 943701297@qq.com
 * @Date: 2022-07-21 11:19:25
 * @LastEditors: Rachel 943701297@qq.com
 * @LastEditTime: 2022-07-21 12:48:29
 * @FilePath: \JSc:\Users\94370\Desktop\面向工作学习\html css\10-CSS 八（第九天）HTML5+CSS3\scale.html
 * @Description: 
 * 
 * Copyright (c) 2022 by Rachel 943701297@qq.com, All Rights Reserved. 
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>2D转换 scale放大</title>
    <style>
      * {
        padding: 0;
        margin: 0;
      }
      div {
        margin: 100px 50px;
        overflow: hidden;
      }
      img {
        width: 300px;
        height: 300px;
        transition: all 2s;
      }
      img:hover {
        transform: scale(1.5, 1.5);
      }
    </style>
  </head>
  <body>
    <div>
      <img src="./abcd.jpg" alt="" />
    </div>
  </body>
</html>
